package com.ddwl.schema.vo.wallet;

import com.ddwl.schema.vo.base.BaseVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author Fu Zhaohui
 * @date 2015/5/9
 * 我的钱包
 */
@Setter
@Getter
@NoArgsConstructor
public class ScoreVo extends BaseVo {

    @ApiModelProperty("ID")
    private String id;
    @ApiModelProperty("用户ID")
    private String userId;
    @ApiModelProperty("积分数")
    private Integer score;
    @ApiModelProperty("订单ID")
    private String orderId;
    @ApiModelProperty("类型")
    private Integer type;
    @ApiModelProperty("下次积分数")
    private Integer nextScore;

    public ScoreVo(String userId, Integer score) {
        this.userId = userId;
        this.score = score;
    }
}
